package com.ksd.modules.members.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ksd.common.po.BatchIdsPO;
import com.ksd.commons.IBaseService;
import com.ksd.modules.members.entity.AdminUserVipCode;
import com.ksd.modules.members.po.AdminUserVipCodeSavePO;
import com.ksd.modules.members.po.AdminUserVipCodeSearchPO;
import com.ksd.modules.members.vo.AdminUserVipCodeVo;

public interface IAdminUserVipCodeService extends IBaseService<AdminUserVipCode> {


    /**
     * 查询列表
      * @param adminUserVipCodeSearchPO
     * @return
     */
    Page<AdminUserVipCodeVo> findAdminUserVipCodes(AdminUserVipCodeSearchPO adminUserVipCodeSearchPO);

    /**
     * 创建兑换码
     * @param adminUserVipCodeSavePO
     * @return
     */
    Boolean createBatchCode(AdminUserVipCodeSavePO adminUserVipCodeSavePO);

    /**
     * 根据id获取明细
     * @param id
     * @return
     */
    AdminUserVipCodeVo getAdminUserVipCodeById(Long id);

    /**
     * 单个物理删除
     * @return
     */
    Boolean removeAdminUserVipCodeById(Long id);

    /**
     * 批量物理删除
     * @param batchIdsPO
     * @return
     */
    Boolean batchRemovesAdminUserVipCode(BatchIdsPO batchIdsPO);
}
